﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, TypeLibType(CShort(&H10C0)), Guid("01DC3495-5365-4A81-A244-EA27791BAD27")> _
    Public Interface IGoogleDesktopQueryResultSet2
        Inherits IGoogleDesktopQueryResultSet

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H410)> _
        Function [Next]() As <MarshalAs(UnmanagedType.Interface)> IGoogleDesktopQueryResultItem

        <DispId(&H411)> _
        ReadOnly Property readystate As QRSReadyState
        
        <DispId(&H412)> _
        ReadOnly Property count As Integer
        
        <DispId(&H413)> _
        ReadOnly Property available_count As Integer
        
        <DispId(&H41B)> _
        Property enable_msg_loop As Boolean
        
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H41C)> _
        Sub Cancel()

        <DispId(&H425)> _
        WriteOnly Property onreadystatechange() As Object
        
        <DispId(&H426)> _
        WriteOnly Property onavailable() As Object
        
        <DispId(&H427)> _
        WriteOnly Property oncountchange() As Object
        
        <DispId(&H42A)> _
        ReadOnly Property Query() As <MarshalAs(UnmanagedType.BStr)> String
        
    End Interface
End Namespace

